package com.xqboss.apps.dto.equipment;


import com.xqboss.apps.enums.market.MarketTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 装备-熔炼模版
 *
 * @author makejava
 * @since 2024-03-01 14:41:23
 */
@Data
@ApiModel("装备-熔炼模版产出保底参数")
public class EquipmentSmeltTemplateProduceWorstDto {

    @ApiModelProperty("ID，修改必传")
    private Long id;

    @ApiModelProperty("资源id")
    @NotNull
    private Long sourceId;

    @ApiModelProperty("资源名称")
    @NotBlank
    private String sourceName;

    @ApiModelProperty("资源图片")
    @NotBlank
    private String sourceImage;

    @ApiModelProperty("类型 1典藏 2装备 3宝盒 4材料")
    @NotNull
    private MarketTypeEnum type;

    @ApiModelProperty("资源数量")
    @NotNull
    private Double sourceNum;
}
